from django.conf.urls import patterns, url
from django.views.decorators.csrf import csrf_exempt
from phone.views import PhoneLoginView,HouseRentListView,HouseRentPublishView

urlpatterns = patterns('',
                       url(r'^login/$',csrf_exempt(PhoneLoginView.as_view()),name='phone_login'),
                       url(r'^rent/$',csrf_exempt(HouseRentListView.as_view()),name='phone_rent'),
                       url(r'^publish/$',csrf_exempt(HouseRentPublishView.as_view()),name='phone_publish'),
                       )
